﻿@model prufa.Models.UserProfile

@{
    ViewBag.Title = "Delete";
}

<h2>Staðfesta eyðingu notanda</h2>

<h3>Ertu viss um að þú viljir eyða þessum aðgangi?</h3>
<fieldset>
    <legend>UserProfile</legend>

    
    <div class="display-field">
        <h2>@Html.DisplayFor(model => model.UserName)</h2>
    </div>
    <div class="display-field">
        Netfang: @Html.DisplayFor(model => model.Email)
    </div>
    <div class="display-field">
        Aðgangur stofnaður: @Html.DisplayFor(model => model.Date)
    </div>
    <div class="avatar">
        <img class="avatar" src= "@Html.DisplayFor(model => model.Avatar)"/>
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input id="awesomeButton" type="submit" value="Eyða" />
        @Html.ActionLink("Aftur í lista", "AdminUserList")
    </p>
}
